﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace VersionComparer.DataModel.Actions
{
    [AttributeUsage (AttributeTargets.Class )]
    public class ActionAttribute : Attribute
    {
        public ActionAttribute(string displayName, int index)
            : this(displayName, index, Keys.None)
        {
        }
        public ActionAttribute(string displayName, int index , Keys shortcut)
        {
            ShortcutKey = shortcut;
            DisplayName = displayName;
            Index = index;
        }

        public string DisplayName
        {
            get;
            private set;
        }
        public int Index
        {
            get;
            private set;
        }

        public Keys ShortcutKey
        {
            get;
            private set;
        }
    }
}
